Declarative learning with immediate feedback